package com.alks.function.data.dto.biocontrol.deptwork;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author MS
 * @since 2024/8/8上午9:43
 */
@Data
public class ProdTempBackDto {

    @ApiModelProperty(value = "工厂")
    private String vendorAbbr;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "交期")
    private String deliveryDate;

    @ApiModelProperty(value = "货号")
    private String styleNo;

    @ApiModelProperty(value = "订单数")
    private BigDecimal orderQty;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "是否是最小子集")
    private boolean leaf;

    @ApiModelProperty(value = "订单数")
    private int countNum;

    @ApiModelProperty(value = "子集合")
    private List<ProdTempBackDto> children;

    @JsonIgnore
    private String prefix;

}
